package chongxiang;


public class Circle extends Shape {
	private double r;
	public Circle(double r) {
		this.r = r;
	}
	public double getArea() {
		return Math.PI * r * r;
	}
	@Override
	public double getLength() {
		
		return Math.PI*2*r;
	}
}
